package com.csdj.t309.service;

import com.csdj.t309.entity.Cityarea;
import com.csdj.t309.entity.CityareaExample;
import com.csdj.t309.mapper.CityareaMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public class CityareaServiceimpl implements CityareaService{
    @Autowired
    private CityareaMapper devUserMapper;

    @Override
    public long countByExample(CityareaExample example) {
        return devUserMapper.countByExample(example);
    }

    @Override
    public int deleteByPrimaryKey(Integer id) {
        return devUserMapper.deleteByPrimaryKey(id);
    }

    @Override
    public int insert(Cityarea record) {
        return devUserMapper.insert(record);
    }

    @Override
    public int insertSelective(Cityarea record) {
        return devUserMapper.insertSelective(record);
    }

    @Override
    public List<Cityarea> selectByExample(CityareaExample example) {
        return devUserMapper.selectByExample(example);
    }

    @Override
    public Cityarea selectByPrimaryKey(Integer id) {
        return devUserMapper.selectByPrimaryKey(id);
    }

    @Override
    public int updateByPrimaryKeySelective(Cityarea record) {
        return devUserMapper.updateByPrimaryKeySelective(record);
    }

    @Override
    public int updateByPrimaryKey(Cityarea record) {
        return devUserMapper.updateByPrimaryKey(record);
    }
}
